package com.example.accessibilitydemo.activity;

import com.example.accessibilitydemo.R;
import com.example.accessibilitydemo.R.xml;

import android.app.Fragment;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.EditTextPreference;
import android.preference.ListPreference;
import android.preference.Preference;
import android.preference.PreferenceScreen;
import android.preference.SwitchPreference;

/**
 * A simple {@link Fragment} subclass.
 */
public class PrefFragment extends android.preference.PreferenceFragment {

	public PrefFragment() {
		// Required empty public constructor
	}

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		// 添加我们创建的布局文件
		addPreferencesFromResource(R.xml.basic_preferences);
	}
}
